package svn;

public class ClaseA {
    private String atributo1;

    public ClaseA() {
        super();
    }


    public void setAtributo1(String atributo1) {
        this.atributo1 = atributo1;
    }

    public String getAtributo1() {
        return atributo1;
    }


    @Override
    public boolean equals(Object object) {
        if (this == object) {
            return true;
        }
        if (!(object instanceof ClaseA)) {
            return false;
        }
        final ClaseA other = (ClaseA) object;
        if (!(atributo1 == null ? other.atributo1 == null : atributo1.equals(other.atributo1))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        final int PRIME = 37;
        int result = 1;
        result = PRIME * result + ((atributo1 == null) ? 0 : atributo1.hashCode());
        return result;
    }

    public String toString() {
        return "hooa";
    }
}
